<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
    echo $this->headMeta()->appendHttpEquiv('Content-Type','text/html; charset=UTF-8');
    echo $this->headTitle();
    echo $this->headLink();
?>
<script type="text/javascript">
    var LOGOUT_URL = '<?php echo BASE_URL."admin/auth/logout";?>';
</script>
<?php echo $this->headScript();?>
</head>
<body>
<div id="container">
  <div id="header">
    <div class="logo"><img src="<?php echo BASE_URL ?>templates/admin/images/logo_3forcom.jpg" /></div>
  <!-- Menu -->
   <ul class="dropdown dropdown-horizontal">
      <li><a href="" class="dir">Site</a>
      	<ul>
      		<li><a href="<?php echo BASE_URL ?>admin" class="dir">Page Management</a></li>      		
      		<li><a href="<?php echo BASE_URL ?>admin/index/static" class="dir">Static Content</a></li>
                <li><a href="<?php echo BASE_URL ?>admin/index/translate" class="dir">Translate System</a></li>
      	</ul>
      </li>

       <li style="float:right;"><a style="font-weight: bold;color: white;" href="<?php echo BASE_URL."admin/site/config" ?>" class="dir">Site Config</a></li>
     </ul> 
  <!-- End Menu -->
 <div id="toppanel">
      <div id="panel">
        <div class="content clearfix">
          <div class="left">
            <form id="changepass_form" action="<?php echo BASE_URL."admin/auth/changepass";?>" method="post">
             <table cellpadding="2" cellspacing="0" id="account01">
                <tr>
                  <td><h1 class="padlock">Superadmin</h1></td>
                </tr>
                <tr>
                  <td>Username:</td>
                </tr>
                <tr>
                  <td><input class="field" type="text" name="username" id="username0" size="23" value="<?php echo $this->current_user->username; ?>"/></td>
                </tr>
                <tr>
                  <td>Password:</td>
                </tr>
                <tr>
                  <td><input class="field" type="password" name="password" id="password0" size="23" value="" /></td>
                </tr>
                <tr>
                  <td>Email:</td>
                </tr>
                <tr>
                  <td><input class="field" type="text" name="email" size="23" value="<?php echo $this->current_user->email; ?>" /></td>
                </tr>
                <tr>
                  <td>
                  	<input name="id" type="hidden" value="1"/>
                  	<input name="submit00" type="submit" id="submit00" value="Edit" />                  	
                    <input name="resetaccount00" type="reset" id="resetaccount00" value="Reset" /></td>
                </tr>
              </table>
            </form>
	<div id="admin">
	</div>
          </div>

        </div>
      </div>
      <!-- /login -->
      <!-- The tab on top -->
     <div class="tab">
        <ul class="login">
          <li class="left">&nbsp;</li>

          <li><img alt="" src="<?php echo BASE_URL ?>templates/admin/images/users.png" /></li>
          <li>Connect : <?php echo $this->current_user->username; ?></li>
          <li><a href="<?php echo BASE_URL ?>admin/auth/logout">Logout?</a></li>
          <li class="sep">|</li>
          <li id="toggle"> <a id="open" class="open" href="#">Modify your access</a> <a id="close" style="display: none;" class="close" href="#">Close</a> </li>
          <li class="right">&nbsp;</li>
        </ul>
      </div>      
    </div>
  </div>
<div id="mainContent">
<?php echo $this->layout()->content;?>
</div>
<div id="footers">
<p><a style="color: wheat" target="_blank" href="http://3forcom.com">CMS developed by</a> 3forCom</p>
</div>  
</div>
</body>
</html>